﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace ISUM_V2
{
	/// <summary>
	/// Interaction logic for ErrorMessageBox.xaml
	/// </summary>
	public partial class ErrorMessageBox : Window
	{		
		public ErrorMessageBox(string messge)
		{
			this.InitializeComponent();
			this.Tb_Message.Text = messge;
			Btn_OK.Click += new System.Windows.RoutedEventHandler(Btn_OK_Click);
		}
		
		public ErrorMessageBox()
		{
			this.InitializeComponent();
			
			// Insert code required on object creation below this point.
		}

		private void Btn_OK_Click(object sender, System.Windows.RoutedEventArgs e)
		{
			this.Close();
		}
	}
}